module.exports = {
    // ...

    configureWebpack(config) {
        // ...

        config.externals = {
            silent:true
        }
    },
    devServer: {
        // 跨域
        disableHostCheck: true,
        proxy: {
            '/token': {
                target: 'https://zxl-test.5173.com/',
                changeOrigin: true,
                pathRewrite: {
                    '^/token': '/'
                }
            },
            '/api1': {
                target: 'http://gw.05zhe.com',
                changeOrigin: true,
                pathRewrite: {
                    '^/api1': '/'
                }
            },
        }
    }
}
